package com.oracle.vo;

import java.io.Serializable;
import java.util.Date;

// (标题(模糊查询) 作者来源 二级类型 时间范围 新闻状态为组合条件  每页显示10条)
public class NewsSearch implements Serializable {

    private String title;

    private String author;

    private String category;

    private Date minTime;

    private Date maxTime;

    private Integer status;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public Date getMinTime() {
        return minTime;
    }

    public void setMinTime(Date minTime) {
        this.minTime = minTime;
    }

    public Date getMaxTime() {
        return maxTime;
    }

    public void setMaxTime(Date maxTime) {
        this.maxTime = maxTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public NewsSearch(String title, String author, String category, Date minTime, Date maxTime, Integer status) {
        this.title = title;
        this.author = author;
        this.category = category;
        this.minTime = minTime;
        this.maxTime = maxTime;
        this.status = status;
    }

    public NewsSearch() {}

    @Override
    public String toString() {
        return "NewsSearch{" +
                "title='" + title + '\'' +
                ", author='" + author + '\'' +
                ", category='" + category + '\'' +
                ", minTime=" + minTime +
                ", maxTime=" + maxTime +
                ", status=" + status +
                '}';
    }
}
